package src.lab02.test09;

/**
 * Created by 林云志 on 2017/10/23.
 */
public class Student {


    String number;
    String classnumber;
    String name;
    String sex;
    int age;

    public String getnumber(){
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getClassnumber() {
        return classnumber;
    }

    public void setClassnumber(String classnumber) {
        this.classnumber = classnumber;
    }

    public String getsex(){
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    @Override
    public String toString() {

        return "学号："+number+"  班号："+classnumber+"  名字："+name+"  性别："+sex+"  年龄："+age;
    }



}